sgpb\SGPopup D

Total Complexity 317
Dependencies 6
Dependents 10
Total lines 1,714
Lines of code 1,174
Logical lines of code 737
Comment lines 172
Methods 90
Properties 13

Methods 90

Method Rating Maintainability Complexity Lines of code
find()
B
35 21 84
savePopupsFromContentClasses()
B
37 19 88
targetSave()
A
42 12 49
collectInsidePopupShortcodes()
A
50 12 27
getSubPopupObj()
A
51 12 24
getOptionValueFromSavedData()
A
51 11 26
getAllPopups()
A
49 10 32
popupOptionsSave()
A
48 9 31
saveToTargetAndEvents()
A
45 8 45
eventsSave()
A
48 8 33
parsePopupDataFromData()
A
56 9 16
customScriptsSave()
A
48 7 34
sanitizeValueByType()
S
52 7 28
popupShortcodesInsidePopup()
S
51 7 26
getSavedData()
S
54 7 22
save()
S
53 6 24
getPopupAllEvents()
S
55 6 19
getPopupShortcodeMatchesFromContent()
S
59 6 14
getActivePopupsQueryString()
S
51 5 25
create()
S
52 5 24
getPopupsIdAndTitle()
S
55 5 21
recursiveSanitizeTextField()
S
57 5 18
renderPopupContentShortcode()
S
51 4 29
changeDefaultOptionsByNames()
S
60 5 13
getPopupsByTermSlug()
S
52 4 27
convertImagesToData()
S
52 4 26
createPopupTypeObjById()
S
53 4 22
getPopupTypes()
S
56 4 18
shapeEventsToOneArray()
S
59 4 15
saveToEventsFromPage()
S
59 4 14
recursiveHtmlSpecialchars()
S
60 4 14
getDefaultDataByName()
S
63 4 12
getPopupOptionsById()
S
62 4 11
getPopupOpeningCountById()
S
58 3 15
getContent()
S
60 3 14
saveToTargetFromPage()
S
64 3 9
getStringNextNumbersByReg()
S
66 2 8
getPostPopupCustomEvent()
S
67 2 8
getTargetDataById()
S
68 2 7
getEventsDataById()
S
68 2 7
boolToChecked()
S
79 2 3
getCustomInsertedPopupEventsByPostId()
S
67 2 8
getOptionDefaultValue()
S
69 2 7
getCustomInsertedDataByPostId()
S
66 2 8
getPopupTypeClassPath()
S
67 2 8
setSavedPopupById()
S
71 2 6
insertIntoSanitizedData()
S
72 2 5
allowToLoad()
S
67 2 7
deletePostCustomInsertedData()
S
79 1 3
getTableNames()
S
81 1 3
getSiteLocale()
S
72 1 5
deletePostCustomInsertedEvents()
S
79 1 3
addAdditionalSettings()
S
82 1 3
getRemoveOptions()
S
76 1 4
setType()
S
81 1 3
getTitle()
S
82 1 3
getPopupTypeOptionsView()
S
82 1 3
getType()
S
82 1 3
doInsideShortcode()
S
80 1 3
setTitle()
S
81 1 3
getAnalyticsDataByPopupId()
S
69 1 6
deleteAnalyticsDataByPopupId()
S
71 1 5
getPopupTypeMainView()
S
82 1 3
getTablesSql()
S
81 1 3
getSavedPopup()
S
82 1 3
setTarget()
S
81 1 3
setSaveMode()
S
81 1 3
setReportData()
S
63 1 10
setSavedPopup()
S
81 1 3
setPostData()
S
79 1 3
getPostData()
S
82 1 3
getPopupTypeContent()
S
81 1 3
getExtraRenderOptions()
S
100 1 0
setSanitizedData()
S
81 1 3
getSanitizedData()
S
82 1 3
getSaveMode()
S
82 1 3
getPopupClassNameFormType()
S
71 1 5
getLoadableModes()
S
82 1 3
getTarget()
S
82 1 3
setLoadableModes()
S
81 1 3
getOptions()
S
82 1 3
setOptions()
S
81 1 3
getId()
S
81 1 3
getConditions()
S
82 1 3
getOptionValue()
S
69 1 6
setConditions()
S
81 1 3
getEvents()
S
82 1 3
setContent()
S
81 1 3
setEvents()
S
81 1 3
setId()
S
81 1 3